# This is the Entry point

from core import myapp

import controller.home
import controller.requirement
import controller.project
import controller.sprint


import controller.user

#Create super user
from tools.user import create_super_admin
create_super_admin() 

"""
from service.requirement import RequirementService

serv = RequirementService()
reqs = serv.get_requirements()
for requirement in reqs:
    requirement['project_id'] = "52c859dc3910b11e645442d2"
    serv.submit_requirement(requirement, 'edit')

from service.sprint import SprintService

serv = SprintService()
sprints = serv.get_sprints()
for sprint in sprints:
    sprint['project_id'] = '52c859dc3910b11e645442d2'
    serv.submit_sprint(sprint, 'edit')
"""


myapp.run()#debug=True)


